package com.zuxia.po;

import java.util.HashSet;
import java.util.Set;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * Powerinfo entity. @author MyEclipse Persistence Tools
 */

public class Powerinfo implements java.io.Serializable {

	// Fields

	private Integer piid;
	private String piname;
	private String piinfo;
	@JSONField(serialize=false)
	private Set staffindos = new HashSet(0);
	@JSONField(serialize=false)
	private Set admininfos = new HashSet(0);

	// Constructors

	/** default constructor */
	public Powerinfo() {
	}

	/** minimal constructor */
	public Powerinfo(String piname, String piinfo) {
		this.piname = piname;
		this.piinfo = piinfo;
	}

	/** full constructor */
	public Powerinfo(String piname, String piinfo, Set staffindos,
			Set admininfos) {
		this.piname = piname;
		this.piinfo = piinfo;
		this.staffindos = staffindos;
		this.admininfos = admininfos;
	}

	// Property accessors

	public Integer getPiid() {
		return this.piid;
	}

	public void setPiid(Integer piid) {
		this.piid = piid;
	}

	public String getPiname() {
		return this.piname;
	}

	public void setPiname(String piname) {
		this.piname = piname;
	}

	public String getPiinfo() {
		return this.piinfo;
	}

	public void setPiinfo(String piinfo) {
		this.piinfo = piinfo;
	}

	public Set getStaffindos() {
		return this.staffindos;
	}

	public void setStaffindos(Set staffindos) {
		this.staffindos = staffindos;
	}

	public Set getAdmininfos() {
		return this.admininfos;
	}

	public void setAdmininfos(Set admininfos) {
		this.admininfos = admininfos;
	}

}